package pojo;

import java.util.Date;

/**
 * 用户评价实体类
 * @author 胡文摇
 */
public class Evaluate {
    /**
     * 评价id
     */
    private int evaluateId;
    /**
     * 用户id
     */
    private int consumerId;
    /**
     * 商品id
     */
    private int wareId;
    /**
     * 用户账号
     */
    private String consumerAccount;

    /**
     * 商品名称
     */
    private String wareName;

    /**
     * 用户评价星级
     */
    private int evaluateScore;

    /**
     * 用户评价图片
     */
    private String evaluatePhoto;

    /**
     * 用户评价描述
     */
    private String evaluateDescribe;

    public int getEvaluateId() {
        return evaluateId;
    }

    public void setEvaluateId(int evaluateId) {
        this.evaluateId = evaluateId;
    }

    public int getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(int consumerId) {
        this.consumerId = consumerId;
    }

    public int getWareId() {
        return wareId;
    }

    public void setWareId(int wareId) {
        this.wareId = wareId;
    }

    public String getConsumerAccount() {
        return consumerAccount;
    }

    public void setConsumerAccount(String consumerAccount) {
        this.consumerAccount = consumerAccount;
    }

    public String getWareName() {
        return wareName;
    }

    public void setWareName(String wareName) {
        this.wareName = wareName;
    }

    public int getEvaluateScore() {
        return evaluateScore;
    }

    public void setEvaluateScore(int evaluateScore) {
        this.evaluateScore = evaluateScore;
    }

    public String getEvaluatePhoto() {
        return evaluatePhoto;
    }

    public void setEvaluatePhoto(String evaluatePhoto) {
        this.evaluatePhoto = evaluatePhoto;
    }

    public String getEvaluateDescribe() {
        return evaluateDescribe;
    }

    public void setEvaluateDescribe(String evaluateDescribe) {
        this.evaluateDescribe = evaluateDescribe;
    }

    public Evaluate() {
    }

    public Evaluate(int evaluateId, int consumerId, int wareId, String consumerAccount, String wareName, int evaluateScore, String evaluatePhoto, String evaluateDescribe) {
        this.evaluateId = evaluateId;
        this.consumerId = consumerId;
        this.wareId = wareId;
        this.consumerAccount = consumerAccount;
        this.wareName = wareName;
        this.evaluateScore = evaluateScore;
        this.evaluatePhoto = evaluatePhoto;
        this.evaluateDescribe = evaluateDescribe;
    }

    @Override
    public String toString() {
        return "Evaluate{" +
                "evaluateId=" + evaluateId +
                ", consumerId=" + consumerId +
                ", wareId=" + wareId +
                ", consumerAccount='" + consumerAccount + '\'' +
                ", wareName='" + wareName + '\'' +
                ", evaluateScore=" + evaluateScore +
                ", evaluatePhoto='" + evaluatePhoto + '\'' +
                ", evaluateDescribe='" + evaluateDescribe + '\'' +
                '}';
    }
}


